/**
 * TranslatedText.java
 * 
 * Created On: Nov 20, 2008
 * Created By: ## CHANGE IN JAVA->CODE STYLE->CODE TEMPLATES->New Java Files
 *
 * Copyright (C) 2008 University of Wisconsin Platteville - ResNet
 *
 * All rights are reserved to the University of Wisconsin Platteville
 */

package model;

public class TranslatedText
{
	private Dialog original;
	
	private Dialog translated;
	
	private Language toLanguage;
	
	public TranslatedText( Dialog original, Dialog translated )
	{
		this.original = original;
		this.translated = translated;
	}
	
	public Dialog getOriginal()
	{
		return original;
	}
	
	public String getOriginalText()
	{
		return original.getText();
	}
	
	public Dialog getTranslated()
	{
		return translated;
	}
	
	public String getTranslatedText()
	{
		return translated.getText();
	}
	
	public String toString()
	{
		return "Language from " + " Original: " + original + "\n\nTranslated: " + translated;
	}
}
